#include "obj.h"
#include "obj_cache.h"

OPEN_JLIB_NS


#ifndef NDEBUG
std::atomic<u64> Obj::__objectCount;
#endif

void Obj::autorelease () noexcept {
  ObjCache::gcache(this);
  release();
}


CLOSE_JLIB_NS
